<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String basePath = request.getContextPath();
	String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+basePath+"/";
	request.setAttribute("path",path);
%>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<meta name="format-detection" content="telephone=no,address=no,email=no"/>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>支付订单</title>
	<script type="text/javascript" src="${path}/mobileTerminal/js/jquery.js"></script>
	<script type="text/javascript" src="${path}/js/jquery-2.1.1.min.js"></script>
	<link href="${path}/mobileTerminal/css/style.css" rel="stylesheet" media="all">
	<link rel="shortcut icon" href="${path}/mobileTerminal/img/favicon.png">
</head>
<body class="hu_shopping">
	<header>
		<div class="headerwrap">
			<div class="header_wrap">
				<a href="javascript:history.go(-1);" class="return_last">返回</a>
				<h1>支付订单</h1>
			</div>
		</div>
	</header><!-- header -->
	<div class="content_wrap" id="orderpay_wrap">
		<div class="order_pay">
			<div class="orderpay_top">
				<p class="red_txt">订单已提交，请您及时付款！</p>
				<p>请您在提交订单后，24小时内完成支付 否则订单会自动消失</p>
			</div><!-- orderfir_top -->
			
			<div class="orderpay_center">
				<p>
					<span class="orderpay_tl fl">订单编号：</span>
					<span class="orderpay_txt fl">${orders}</span>
					<span class="clear"></span>
				</p>
				<p>
					<span class="orderpay_tl fl">收货人：</span>
					<span class="orderpay_txt fl">${address.addressee}</span>
					<span class="clear"></span>
				</p>
				<p>
					<span class="orderpay_tl fl">联系方式：</span>
					<span class="orderpay_txt fl">${address.addressPhone}</span>
					<span class="clear"></span>
				</p>
				<p>
					<span class="orderpay_tl fl">收货地址：</span>
					<span class="orderpay_txt fl">${address.detailed}</span>
					<span class="clear"></span>
				</p>
			</div><!-- orderpay_center -->
			
			<div class="orderpay_total">
				<p>
					<span class="orderpay_tl fl">订单总额：</span>
					<span class="orderpay_txt fl red_txt">￥<span class="tolprice red_txt">${totalMoney}</span></span>
					<span class="clear"></span>
				</p>
				<form class="orderpay_way" id="orderpay_way" name="orderpay_way">
					<span class="orderpay_tl">支付方式：</span>
					<label class="weixin_pay" for="weixinpay">
						<i class="pay_icon"></i>
						<span>微信支付</span>
						<input name="weixinpay" type="radio" checked="checked" id="weixinpay" class=""/>
						<div class="clear"></div>
					</label> 
					
				</form>
			</div><!-- orderpay_total -->
			
			<div class="orderpay_but">
				<input id="orderpaybut" type="button" value="确认支付" onclick="ShowDiv('Myorderpaybut')" />
			</div><!-- orderpay_but -->
		
			
		</div><!-- order_pay -->
	</div><!-- content_wrap -->
	
	<div class="orderpay_up"  id="Myorderpaybut">
		<p class="red_txt">恭喜您！支付成功</p>
		<p>查看订单状态</p>
		<p><a href="../web/orderList.html">我的订单</a><a href="../web/productDetails.html">浏览商品</a></p>
	</div>


	<div class="footer_copyright">
		<p>苏州知行合一网络科技有限公司提供技术支持</p>
	</div><!-- footer_copyright -->
	
	<script>
		//弹出隐藏层
	/*	function ShowDiv(show_div){
		document.getElementById(show_div).style.display='block';
		//document.getElementById(bg_div).style.display='block' ;
		//var bgdiv = document.getElementById(bg_div);
		//bgdiv.style.width = document.body.scrollWidth;
		// bgdiv.style.height = $(document).height();
		//$("#"+bg_div).height($(document).height());
		};*/
		//关闭弹出层
		//function CloseDiv(show_div){
		//document.getElementById(show_div).style.display='none';
		//document.getElementById(bg_div).style.display='none';
		//};
	</script>
</body>
</html>